export const state = () => ({
  wenZhaData: []
})

export const mutations = {
  setData(state, data) {
    // 存储的快 这样我们立即改存储的信息时就不会报错1
    state.wenZhaData.push(JSON.parse(JSON.stringify(data)))
  },
  delData(state, data) {
    state.wenZhaData.splice(data, 1)
  }
}
